<!--  -->
<template>
  <div>
    {{$t('guide.productSet.p1')}}
    <a href="javascript:;" @click="openLink()">{{$t('guide.viewUseDetail')}}</a>
  </div>
</template>

<script>
import { getRootWindowInitData } from '@src/util/window';
export default {
  computed: {
    tenantType() {
      return getRootWindowInitData()?.tenantType;
    },
  },
  methods: {
    openLink() {
      let url;
      if (this.tenantType == 4) {
        url = 'https://publink-hz.feishu.cn/wiki/wikcnmXbF9yZn67aYOaZ5mRF6fg';
      } else {
        url = 'https://doc.shb.ltd/shb_xoqazk/ia4qctp2ly559d1m/wtr4x2a43al72qae/st8453y62ancq9ki.html';
      }
      this.$platform.openLink(url);
    },
  },
};
</script>
<style lang='scss' scoped>
a {
  @include fontColor();
}
</style>